Fix debugging statement that was referring to non-existent field.
authoremellor@ewan <emellor@ewan>
Tue, 4 Oct 2005 10:28:25 +0000 (11:28 +0100)
committeremellor@ewan <emellor@ewan>
Tue, 4 Oct 2005 10:28:25 +0000 (11:28 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netback/netback.c

index a4f9c447d202882e101e62d576ee337f6046d384..3408bb40cc71a200c002fc880003426f1d146b14 100644 (file)
@@ -553,9 +553,9 @@ static void net_tx_action(unsigned long unused)
 
                /* No crossing a page as the payload mustn't fragment. */
                if (unlikely((txreq.offset + txreq.size) >= PAGE_SIZE)) {
-                       DPRINTK("txreq.addr: %lx, size: %u, end: %lu\n", 
-                               txreq.addr, txreq.size, 
-                               (txreq.addr &~PAGE_MASK) + txreq.size);
+                       DPRINTK("txreq.offset: %x, size: %u, end: %lu\n", 
+                               txreq.offset, txreq.size, 
+                               (txreq.offset &~PAGE_MASK) + txreq.size);
                        make_tx_response(netif, txreq.id, NETIF_RSP_ERROR);
                        netif_put(netif);
                        continue;